<template>
    <div>
      <table>
        <tr>
          <td>{{a}}</td>
        </tr>
      </table>
    </div>
</template>

<script>
  import axios from 'axios'
    export default {
        name: "counts",
      data:function () {
        return{
          a:""
        }
      },
      mounted() {
          axios({
            url:"http://127.0.0.1:8000/counts/",
            method:'get'
          }).then(res=>{
            this.a=res.data.a
          })
      }
    }
</script>

<style scoped>

</style>
